﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace UserInterface.Views
{
    using Helpers;

    /// <summary>
    /// Interaction logic for PlayerInformation.xaml
    /// </summary>
    public partial class PlayerInfo : UserControl
    {
        public PlayerInfo(PlayerInformation info)
        {
            InitializeComponent();
            this.ID.Content = info.ID;
            this.Income.Content = info.Income;
            this.Budget.Content = info.Budget;
            this.TotalSettlements.Content = info.TotalSettlements;
            this.TotalUnits.Content = info.TotalUnits;
        }
    }
}
